package edu.sandau.b230111.b23011125.Service;

import edu.sandau.b230111.b23011125.Global.GlobalEnum;
import edu.sandau.b230111.b23011125.Model.Problem;
import org.springframework.data.domain.Page;


public interface ProblemService {
    public GlobalEnum.OperateResult addProblem(Problem problem);
    public GlobalEnum.OperateResult deleteProblem(String problemid);
    public GlobalEnum.OperateResult modifyProblem(Problem problem);
    public Page<Problem> queryAllProblem(Integer pageNum,Integer pageSize);
    public Problem queryProblemById(String problemid);
}
